/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package forms;

import java.awt.Container;
import java.awt.GridLayout;
import javax.swing.JFrame;
import javax.swing.JButton;
import java.awt.Color;

//import rad.Java.MotelPlus.Views.BlockViews;
//import rad.Java.MotelPlus.Views.AptViews;

/**
 *
 * @author rogerio
 */
public class testClass extends JFrame {

    public testClass()
    {
        //BlockViews blockviews= new BlockViews();
        //JScrollPane jsPane = new JScrollPane();
        //JPanel pnlMain = new JPanel();
        Container ctn;

        ctn = getContentPane();
        ctn.setLayout(new GridLayout(2,10, 5, 5));
        //pnlMain.setLayout(new GridLayout(2,10, 5, 5));
        this.setSize(500,500);
        int tam = 20;
        for (int i=0; i < tam;i++)
        {
            JButton btnAux = new JButton("SS");
            btnAux.setBackground(Color.RED);
            ctn.add(btnAux);
        }

        ctn.repaint();
    }
}
